﻿using Adnc.Application.Shared.Services;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WYT.Sys.Application.Contracts.Dtos.Aliyun;
using WYT.Sys.Application.Contracts.Dtos.Common;

namespace WYT.Sys.Application.Contracts.Services
{
    /// <summary>
    /// 阿里云服务
    /// </summary>
    public interface IAliyunAppService : IAppService
    {
        /// <summary>
        /// 短信发送
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<AppSrvResult<bool>> SendSms(SendSmsDto input);
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        AppSrvResult<OssSignDto> GetOssSign(string dir);
    }
}
